package com.example.springweb.utils;

public class LoginReturnMessage {
    private String message;//返回的信息
    private Integer failTimes;//错误次数
    private Long remainUnlockTime;//剩余解锁时间

    public LoginReturnMessage(String message, Integer failTimes, Long remainUnlockTime) {
        this.message = message;
        this.failTimes = failTimes;
        this.remainUnlockTime = remainUnlockTime;
    }

    @Override
    public String toString() {
        return "LoginReturnMessage{" +
                "message='" + message + '\'' +
                ", failTimes=" + failTimes +
                ", remainUnlockTime=" + remainUnlockTime +
                '}';
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getFailTimes() {
        return failTimes;
    }

    public void setFailTimes(Integer failTimes) {
        this.failTimes = failTimes;
    }

    public Long getRemainUnlockTime() {
        return remainUnlockTime;
    }

    public void setRemainUnlockTime(Long remainUnlockTime) {
        this.remainUnlockTime = remainUnlockTime;
    }
}
